package com.groupbuying.settleproducer.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @Author cuich
 * @Description 调用订单中心接口
 * @Date 2019/3/14 15:30
 **/
@Service
@FeignClient("bus-order")
public interface OrderFeign {

    @RequestMapping(value = "/ushop/getOrderForPay", method = RequestMethod.GET)
    Map orderInfo(@RequestParam("orderId") String orderId);
}
